package com.helmlabs.grouper.search.service;

public class SearchServiceFactory {
	
	private static SearchService searchService;
	
	public static SearchService getSearchService(){
		if (searchService==null){
			try {
				searchService = (SearchService)Class.forName("com.helmlabs.grouper.search.service.SearchServiceImpl").newInstance();
			}catch(Exception e){
				e.printStackTrace();
			}
		}
		return searchService;
	}

}